package com.lzy.product.constants.profit;

import com.lzy.product.common.util.IEnum;

/**
 * Created by WIN7 on 2017/6/27.
 */
public enum ProfitTargetEnum implements IEnum {

    ONE_LEVEL(1, "一级业务员"),
    TWO_LEVEL(2, "二级业务员"),
    THREE_LEVEL(3, "三级业务员");

    private Integer code;
    private String desc;

    ProfitTargetEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
